<!DOCTYPE html>
<html lang="zh-CN">
<meta charset="utf-8" />
<head>
<title>查看监测信息 <?php echo $this->config->item('title');?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet"
	href="<?php echo base_url()?>public/css/bootstrap.min.css">
<link rel="stylesheet"
	href="<?php echo base_url()?>public/css/style.css">
<link rel="stylesheet"
	href="<?php echo base_url()?>public/css/select2/select2.css">
</head>
<body>
	<script src="<?php echo base_url()?>public/js/jquery-2.0.2.min.js"></script>
	<script src="<?php echo base_url()?>public/js/bootstrap.min.js"></script>
	<script src="<?php echo base_url()?>public/js/bootstrap-confirm.js"></script>
	<script src='<?php echo base_url()?>public/js/bootbox.min.js'></script>
	<script src='<?php echo base_url()?>public/js/jquery.form.js'></script>
	<script src='<?php echo base_url()?>public/js/ssi_common.js'></script>
	<div role="navigation" class="navbar navbar-inverse navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
				<a class="navbar-brand">SSI后台管理系统</a>
			</div>
			<div class="collapse navbar-collapse navbar-right">
				<ul class="nav navbar-nav">
					<li><a href="<?php echo base_url()?>" class="navbar-link">首页</a></li>
					<li><a
						href="<?php echo base_url()."index.php/common_login_user_set"?>"
						class="navbar-link">超级管理员</a></li>
					<li><a
						href="<?php echo base_url()?>index.php/common_login_manage/logout"
						class="navbar-link">退出</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="container">
		<div class="row">
			<div class="col-xs-3">
				<?php echo $user_menu?>
			</div>
			<div class="col-md-9">
				<div class="panel panel-default">
					<div class="panel-heading">查看监测信息</div>
					<div class="panel-body">
						<form method="post" enctype="multipart/form-data" id="main_from"
							class="form-horizontal">
							<div id="env_name" class="form-group">
								<label for="env_name" class="control-label col-sm-3">监测媒体</label>
								<div class="col-sm-5">
									<p class='form-control-static'>
									<?php echo $monitor_detail['media_id']?>
									</p>
								</div>
							</div>
							<div id="env_name" class="form-group">
								<label for="product_name" class="control-label col-sm-3">产品名称</label>
								<div class="col-sm-5">
									<p class='form-control-static'>
									<?php echo $monitor_detail['product_name']?>
									</p>
								</div>
							</div>
							<div id="env_name" class="form-group">
								<label for="product_name" class="control-label col-sm-3">品牌</label>
								<div class="col-sm-5">
									<p class='form-control-static'>
									<?php echo $monitor_detail['brand_name']?>
									</p>
								</div>
							</div>
							<div class="form-group">
								<label for="parent1" class="control-label col-sm-3">选择行业/品类</label>
								<div class="col-sm-5">
									<p class='form-control-static'>
									<?php echo $monitor_detail['industry_name']?>
									<?php
									
if ($monitor_detail ['industry_name'] != $monitor_detail ['industry_category_name']) {
										echo " / " . $monitor_detail ['industry_category_name'];
									}
									?>
									</p>
								</div>
							</div>
							<div class="form-group">
								<label for="parent1" class="control-label col-sm-3">监测人</label>
								<div class="col-sm-5">
									<p class='form-control-static'>
									<?php echo $monitor_detail['monitor_by']?>
									</p>
								</div>
							</div>
							<div class="form-group">
								<label for="parent1" class="control-label col-sm-3">监测时间</label>
								<div class="col-sm-5">
									<p class='form-control-static'>
									<?php echo substr($monitor_detail['monitor_time'],0,16)?>
									</p>
								</div>
							</div>
							<div class="form-group">
								<label for="sketch_map" class="control-label col-sm-3">监测图</label>
								<div class="col-sm-5">
									<p class='form-control-static'>
									<?php if ($monitor_detail['monitor_pic']) {?>
									<img
											src="<?php echo $this->config->item("ssi_file_url").$monitor_detail['monitor_pic']?>"
											class="form_img" />
									<?php
									
} else {
										echo "还没有上传任何监测照片";
									}
									?>
									</p>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-3 col-sm-10">
									<a href="javascript:void()" onclick='history.back()'
										class="btn btn-primary">返回</a>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="back-to" id="toolBackTop">
		<a title="返回顶部" onclick="window.scrollTo(0,0);return false;"
			href="#top" class="back-top"> 返回顶部</a> <a title="返回底部"
			onclick="window.scrollTo(0,document.body.scrollHeight);return false;"
			href="#bottom" class="back-bottom"> 返回底部</a>
	</div>
</body>
</html>
